package com.link.base.base.project.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.link.base.base.project.dao.mybatis.mapper.ComptypeMapper;
import com.link.base.base.project.model.Comptype;
import com.link.core.basic.dao.mapper.BasicMapper;
import com.link.core.basic.service.BasicServiceImpl;

import java.util.List;

/**
 * 零件类型
 *
 * @author 阳晓琳
 * @date 2020-09-24 18:03:43
 */
@Service
public class ComptypeServiceImpl extends BasicServiceImpl<Comptype> implements ComptypeService {

    @Resource
    private ComptypeMapper    comptypeMapper;

    @Override
    public BasicMapper<Comptype> getBasicMapper() {
        return comptypeMapper;
    }

    @Override
    public List<Comptype> picklistPage(Comptype entity) throws Exception {
        return comptypeMapper.picklistPage(entity);
    }
}
